﻿Public Class Alquiler
    Private _id As Integer
    Public Property Id() As Integer
        Get
            Return _id
        End Get
        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property

    Private _fechaDeAlquiler As Date
    Public Property FechaDeAlquiler() As Date
        Get
            Return _fechaDeAlquiler
        End Get
        Set(ByVal value As Date)
            _fechaDeAlquiler = value
        End Set
    End Property

    Private _fechaDeDevolucion As Date
    Public Property FechaDeDevolucion() As Date
        Get
            Return _fechaDeDevolucion
        End Get
        Set(ByVal value As Date)
            _fechaDeDevolucion = value
        End Set
    End Property

    Private _peliculaId As Integer
    Public Property PeliculaId() As Integer
        Get
            Return _peliculaId
        End Get
        Set(ByVal value As Integer)
            _peliculaId = value
        End Set
    End Property

    Private _socioId As Integer
    Public Property SocioId() As Integer
        Get
            Return _socioId
        End Get
        Set(ByVal value As Integer)
            _socioId = value
        End Set
    End Property

    Private _socio As Socio
    Public Overridable Property Socio() As Socio
        Get
            Return _socio
        End Get
        Set(ByVal value As Socio)
            _socio = value
        End Set
    End Property

    Private _pelicula As Pelicula
    Public Overridable Property Pelicula() As Pelicula
        Get
            Return _pelicula
        End Get
        Set(ByVal value As Pelicula)
            _pelicula = value
        End Set
    End Property
End Class
